home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh
-
- set CurDir = `pwd`
-
- set RibDir = /usr/Basel_1/people/michael/RIBBONS
- cd $RibDir/data
-
- set images = `ls *.rgb`
-
- echo "\n iribbon --- available ribbon images are: "
- foreach i ( $images )
- set i = $i:r
- echo " " $i
- end
-
- View:
- echo "\n enter image to view ('q' to quit): "
- set file = $<
- if( $file == "q" ) goto Quit
- if( ! -e $file.rgb ) then
- echo " file does not exist? $file"
- goto View
- endif
- ipaste $file.rgb
- sleep 5
- goto View
-
- Quit:
- cd $CurDir
-